package com.zdlyh.service;

import com.zdlyh.domain.ResponseResult;
import com.zdlyh.domain.dto.TagListDto;
import com.zdlyh.domain.entity.Tag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zdlyh.domain.vo.PageVo;
import com.zdlyh.domain.vo.TagVo;

public interface TagService extends IService<Tag> {
    ResponseResult<PageVo> getTagList(Integer pageNum, Integer pageSize, TagListDto tagListDto);

    ResponseResult addTag(TagVo tagVo);

    ResponseResult getTagById(Long id);

    ResponseResult updateTag(TagVo tagVo);

    ResponseResult deleteTagById(Long id);

    ResponseResult getListAllTag();
}
